package com.thinkgem.jeesite.modules.report.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.book.entity.BkBookstore;
import com.thinkgem.jeesite.modules.report.entity.GeneralLedgerDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 审批DAO接口
 *
 * @author thinkgem
 * @version 2014-05-16
 */
@MyBatisDao
public interface BookReportDao extends CrudDao<BkBookstore>{
    Map<String, Double> getPurchaseLedgerDetailCount(@Param("sql") String sql);

    List<GeneralLedgerDetail> getPurchaseLedgerDetail(@Param("sql") String sql);
}
